#import "NSArrayController+SMRAdditions.h"


@implementation NSArrayController (SMRAdditions)

-(id)smrSelectedObject {
    NSUInteger selectedIndex = [self selectionIndex];
    if (selectedIndex == NSNotFound)
        return nil;
    return [[self arrangedObjects] objectAtIndex:selectedIndex];
}

@end
